jquery: attach after each <div id='d[anumber]' >asdfa<div/> a <a href="javascript:Add(d[anumber]) >a

Posted by Omu on Stack Overflow See other posts from Stack Overflow or by Omu
Published on 2010-05-10T07:19:33Z Indexed on 2010/05/10 7:24 UTC
Read the original article Hit count: 179

Filed under:

I have something like this:

<div id='d12'>content</div>
<div id='d23'>content</div>
<div id='d34'>content</div>

and I would like to insert a link after each link like this

<div id='d12'>content</div><a href='javascript:add(d12)'/>add</a>

© Stack Overflow or respective owner

Related posts about jQuery